-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add AsyncioRunnable #411
Add AsyncioRunnable #411
Conversation
…erlock-tests-coroutine-runnable
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## branch-23.11 #411 +/- ##
================================================
+ Coverage 73.45% 73.73% +0.28%
================================================
Files 392 395 +3
Lines 13862 14132 +270
Branches 1050 1078 +28
================================================
+ Hits 10182 10420 +238
- Misses 3680 3712 +32
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 14 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
/merge |
Moves the CoroutineRunnable from Morpheus' Sherlock feature branch to MRC and renames it to AsyncioRunnable as it is heavily dependent on asyncio. Adjustments were made such that the Scheduler would no longer own a task container and/or tasks, leaving the scheduler interface simpler. Instead, the runnable is responsible for the lifetime of the tasks it creates. This leaves the scheduler with a single responsibility.
Much of the code could be moved to MRC proper from PyMRC, but it's not immediately obvious where the code should live or whether it would be reused, so keeping it colocated with the AsyncioRunnable makes the most sense for now, imo.